/*
 * Copyright (c) 2016 www.smarthome.com All rights reserved.
 * 本软件源代码版权归----所有,未经许可不得任意复制与传播.
 */
package com.smarthome.domain.bean;

import java.util.Date;
import com.smarthome.domain.bean.base.BaseDomain;

/**
 * shOrderLaundryFee
 * @author KongXiangyu
 * @since 2016-04-11
 */
public class ShOrderLaundryFee extends BaseDomain {
	private static final long serialVersionUID = 1L;
	private Long orderId;
	private Long laundryFeeId;
	private Integer num;
	private Long totalFee;
	private Date gmtCreate;
	private Date gmtModify;

	public ShOrderLaundryFee(){
		//默认无参构造方法
	}

	/**
	 * 获取 orderId
	 * @return
	 */
	public Long getOrderId(){
		return orderId;
	}
	
	/**
	 * 设置 orderId
	 * @param orderId
	 */
	public void setOrderId(Long orderId){
		this.orderId = orderId;
	}

	/**
	 * 获取 laundryFeeId
	 * @return
	 */
	public Long getLaundryFeeId(){
		return laundryFeeId;
	}
	
	/**
	 * 设置 laundryFeeId
	 * @param laundryFeeId
	 */
	public void setLaundryFeeId(Long laundryFeeId){
		this.laundryFeeId = laundryFeeId;
	}

	/**
	 * 获取 num
	 * @return
	 */
	public Integer getNum(){
		return num;
	}
	
	/**
	 * 设置 num
	 * @param num
	 */
	public void setNum(Integer num){
		this.num = num;
	}

	/**
	 * 获取 totalFee
	 * @return
	 */
	public Long getTotalFee(){
		return totalFee;
	}
	
	/**
	 * 设置 totalFee
	 * @param totalFee
	 */
	public void setTotalFee(Long totalFee){
		this.totalFee = totalFee;
	}

	/**
	 * 获取 gmtCreate
	 * @return
	 */
	public Date getGmtCreate(){
		return gmtCreate;
	}
	
	/**
	 * 设置 gmtCreate
	 * @param gmtCreate
	 */
	public void setGmtCreate(Date gmtCreate){
		this.gmtCreate = gmtCreate;
	}

	/**
	 * 获取 gmtModify
	 * @return
	 */
	public Date getGmtModify(){
		return gmtModify;
	}
	
	/**
	 * 设置 gmtModify
	 * @param gmtModify
	 */
	public void setGmtModify(Date gmtModify){
		this.gmtModify = gmtModify;
	}

	@Override
	public boolean equals(Object obj) {
		if(obj == null) {
			return false;
		}
		if(obj instanceof ShOrderLaundryFee) {
			ShOrderLaundryFee fee = (ShOrderLaundryFee) obj;
			if(this.getId() != null && this.getId().equals(fee.getId())) {
				return true;
			}else {
				return false;
			}
		}else {
			return false;
		}
	}
	
	
	
}